package com.shsmi.jc.seed.security.auth.ajax;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class LoginRequest {
    private String username;
    private String loginPassword;

    @JsonCreator
    public LoginRequest(@JsonProperty("username") String username, @JsonProperty("loginPassword") String loginPassword) {
        this.username = username;
        this.loginPassword = loginPassword;
    }

    public String getUsername() {
        return username;
    }

    public String getLoginPassword() {
        return loginPassword;
    }
}
